home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
PCW_C.ARJ
/
WPRINTF.C
< prev
next >
Wrap
Text File
|
1990-01-16
|
981b
|
28 lines
/************************************************************/
/* File Id. Wprintf.C */
/* Author. Stan Milam. */
/* Date Written. 02/27/88. */
/* Date Last Modified. */
/* */
/* (c) Copyright 1989-90 by Stan Milam */
/* */
/* Comments: */
/************************************************************/
#include <stdio.h>
#include <stdarg.h>
#include "pcw.i"
#include "pcwproto.h"
#define wrkstr PCWRKSTR
extern char wrkstr[];
int wprintf(WNDPTR *wnd, int row, int col, char *format,...) {
va_list arglist;
va_start(arglist, format);
vsprintf(wrkstr, format, arglist);
return(wputs(wnd, row, col, wrkstr));
}